//
//  TLUserData.h
//  TLKeepCredit
//
//  Created by mac on 16/10/11.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseModel.h"
typedef NS_ENUM(NSInteger, BtnTag) {
    BtnTagOther = 0,
    BtnTagRelease = 11,
    BtnTagPopular,
    BtnTagNew,
    BtnTagPrice
};

@interface TLUserData : NSObject
///用户模型
@property (nonatomic,strong) TLUserModel *userModel;
///用户ID
@property (nonatomic,readonly) NSString *user_id;


///登录成功后保存数据
+ (void)loginSucWithModel:(TLUserModel *)userModel;
///是否登录
+ (BOOL)hasLogin;
///清除登录后的数据,注销
+ (void)logout;

///获得单例对象
/**
 sharesuerdata
 
 @return btn sdf
 */
+ (instancetype)shareUserData;
@end
